package com.lnkj.spcj.ui.main;

import java.io.Serializable;

/**
 * Copyright (c) 山东六牛网络科技有限公司 https://liuniukeji.com
 *
 * @Description
 * @Author 与天同行的观测者
 * @Copyright Copyright (c) 山东六牛网络科技有限公司 保留所有版权(https://www.liuniukeji.com)
 * @Date $date$ $time$
 */

public class UserBean implements Serializable {

    /**
     * userinfo : {"id":3,"username":"15550968753","nickname":"15550968753","mobile":"15550968753","avatar":"http://yhyx.lnkj1.com/uploads/default/avatar.png","level":1,"gender":0,"birthday":null,"score":0,"invite_code":null,"province":0,"city":0,"county":0,"token":"091b3d29-2079-4ce5-9d27-5272528c40eb","user_id":3,"createtime":1598232952,"expiretime":1600824952,"expires_in":2592000,"old":false,"address":""}
     */

    private UserinfoBean userinfo;

    public UserinfoBean getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(UserinfoBean userinfo) {
        this.userinfo = userinfo;
    }

    public static class UserinfoBean implements Serializable{
        /**
         * id : 3
         * username : 15550968753
         * nickname : 15550968753
         * mobile : 15550968753
         * avatar : http://yhyx.lnkj1.com/uploads/default/avatar.png
         * level : 1
         * gender : 0
         * birthday : null
         * score : 0
         * invite_code : null
         * province : 0
         * city : 0
         * county : 0
         * token : 091b3d29-2079-4ce5-9d27-5272528c40eb
         * user_id : 3
         * createtime : 1598232952
         * expiretime : 1600824952
         * expires_in : 2592000
         * old : false
         * address :
         */

        private String id;
        private String username;
        private String nickname;
        private String mobile;
        private String avatar;
        private int level;
        private int gender;
        private String birthday;
        private int score;
        private String invite_code;
        private int province;
        private int city;
        private int county;
        private String token;
        private String user_id;
        private int createtime;
        private int expiretime;
        private int expires_in;
        private String old;
        private String address;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public Object getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public String getInvite_code() {
            return invite_code;
        }

        public void setInvite_code(String invite_code) {
            this.invite_code = invite_code;
        }

        public int getProvince() {
            return province;
        }

        public void setProvince(int province) {
            this.province = province;
        }

        public int getCity() {
            return city;
        }

        public void setCity(int city) {
            this.city = city;
        }

        public int getCounty() {
            return county;
        }

        public void setCounty(int county) {
            this.county = county;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public int getCreatetime() {
            return createtime;
        }

        public void setCreatetime(int createtime) {
            this.createtime = createtime;
        }

        public int getExpiretime() {
            return expiretime;
        }

        public void setExpiretime(int expiretime) {
            this.expiretime = expiretime;
        }

        public int getExpires_in() {
            return expires_in;
        }

        public void setExpires_in(int expires_in) {
            this.expires_in = expires_in;
        }

        public String getOld() {
            return old;
        }

        public void setOld(String old) {
            this.old = old;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }
}
